package com.glp.work.flow.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "process_record")
public class ProcessRecord {
    @Column(name = "id")
    private int id;
    /**
     * 模型id
     */
    @Column(name = "model_id")
    private String modelId;
    /**
     * 流程id
     */
    @Column(name = "process_id")
    private String processId;

    /**
     * 归档
     */
    @Column(name = "operation")
    private String operation;

    /**
     * 创建用户
     */
    @Column(name = "create_user_id")
    private String createUserId;
    /**
     * 更新用户
     */
    @Column(name = "update_user_id")
    private String updateUserId;

    @Column(name = "create_user_name")
    private String createUserName;
    /**
     * 更新用户
     */
    @Column(name = "update_user_name")
    private String updateUserName;
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;
    /**
     * 更新时间
     */
    @Column(name = "update_time")
    private Date updateTime;
}
